#-------------------------------------------------
#
# Project created by QtCreator 2023-03-15T17:02:07
#
#-------------------------------------------------

QT       += core gui network serialbus serialport

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = RobotArmEyeSystem
TEMPLATE = app


SOURCES += main.cpp\
    WebAPI/http_client.cpp \
        mainwindow.cpp \
    Camera/camera.cpp \
    RobotArm/robotarm.cpp \
    WorkFlow/workflow.cpp \
    Calibration/calibration.cpp \
    ImageProcessor/imageprocessor.cpp \
    ModbusTcp/ndc_client.cpp \
    Light/light.cpp \
    RobotArm/robotarmmonitor.cpp \
    ImageProcessor/imageprocessor.cpp \
    ImageProcessor/libdmtx0.7.5/dmtx.c \
    ImageProcessor/libdmtx0.7.5/dmtxbytelist.c \
    ImageProcessor/libdmtx0.7.5/dmtxdecode.c \
    ImageProcessor/libdmtx0.7.5/dmtxdecodescheme.c \
    ImageProcessor/libdmtx0.7.5/dmtxencode.c \
    ImageProcessor/libdmtx0.7.5/dmtxencodeascii.c \
    ImageProcessor/libdmtx0.7.5/dmtxencodebase256.c \
    ImageProcessor/libdmtx0.7.5/dmtxencodec40textx12.c \
    ImageProcessor/libdmtx0.7.5/dmtxencodeedifact.c \
    ImageProcessor/libdmtx0.7.5/dmtxencodeoptimize.c \
    ImageProcessor/libdmtx0.7.5/dmtxencodescheme.c \
    ImageProcessor/libdmtx0.7.5/dmtxencodestream.c \
    ImageProcessor/libdmtx0.7.5/dmtximage.c \
    ImageProcessor/libdmtx0.7.5/dmtxmatrix3.c \
    ImageProcessor/libdmtx0.7.5/dmtxmessage.c \
    ImageProcessor/libdmtx0.7.5/dmtxplacemod.c \
    ImageProcessor/libdmtx0.7.5/dmtxreedsol.c \
    ImageProcessor/libdmtx0.7.5/dmtxregion.c \
    ImageProcessor/libdmtx0.7.5/dmtxscangrid.c \
    ImageProcessor/libdmtx0.7.5/dmtxsymbol.c \
    ImageProcessor/libdmtx0.7.5/dmtxtime.c \
    ImageProcessor/libdmtx0.7.5/dmtxvector2.c \
    ImageProcessor/line2Dup.cpp \
    ImageProcessor/cuda_icp/scene/edge_scene/edge_scene.cpp \
    ImageProcessor/cuda_icp/scene/kdtree_scene/kdtree_scene.cpp \
    ImageProcessor/cuda_icp/scene/common.cpp \
    ImageProcessor/cuda_icp/icp.cpp \
    log.cpp

#HKRobot lib
INCLUDEPATH += 'C:/Program Files (x86)/MVS/Development/Includes'
DEPENDPATH += 'C:/Program Files (x86)/MVS/Development/Includes'
LIBS += 'C:/Program Files (x86)/MVS/Development/Libraries/win64/MvCameraControl.lib'

#Opencv lib
#INCLUDEPATH += 'D:\Libs\opencv\build\include' \
#               'D:\Libs\opencv\build\include\opencv' \
#               'D:\Libs\opencv\build\include\opencv2' \

#CONFIG(release, debug|release): LIBS += 'D:\Libs\opencv\build\x64\vc14\lib/opencv_world451.lib'
#CONFIG(debug, debug|release): LIBS += 'D:\Libs\opencv\build\x64\vc14\lib/opencv_world451d.lib'

#Eigen
#INCLUDEPATH += D:\Libs\eigen-3.4.0

#Opencv
INCLUDEPATH += 'E:\Code\OpenCV\opencv-4.5.0\build\include' \
               'E:\Code\OpenCV\opencv-4.5.0\build\include\opencv' \
               'E:\Code\OpenCV\opencv-4.5.0\build\include\opencv2' \

CONFIG(release, debug|release): LIBS += 'E:\Code\OpenCV\opencv-4.5.0\build\x64\vc14\lib/opencv_world450.lib'
CONFIG(debug, debug|release): LIBS += 'E:\Code\OpenCV\opencv-4.5.0\build\x64\vc14\lib/opencv_world450d.lib'

#Eigen
INCLUDEPATH += E:\Code\eigen-3.4.0


HEADERS  += mainwindow.h \
    Camera/camera.h \
    RobotArm/robotarm.h \
    WebAPI/http_client.h \
    WorkFlow/workflow.h \
    Camera/CameraParams.h \
    Camera/MvCameraControl.h \
    Camera/MvErrorDefine.h \
    Camera/MvISPErrorDefine.h \
    Camera/MvObsoleteInterfaces.h \
    Camera/MvSdkExport.h \
    Camera/ObsoleteCamParams.h \
    Camera/PixelType.h \
    Calibration/rigid_transform.h \
    Calibration/calibration.h \
    ImageProcessor/imageprocessor.h \
    ModbusTcp/modbus.h \
    ModbusTcp/ndc_client.h \
    Light/light.h \
    RobotArm/robotarmmonitor.h \
    ImageProcessor/libdmtx0.7.5/dmtx.h \
    ImageProcessor/libdmtx0.7.5/dmtxstatic.h \
    ImageProcessor/imageprocessor.h \
    RobotArm/robot_type.h \
    ImageProcessor/MIPP/math/avx512_mathfun.h \
    ImageProcessor/MIPP/math/avx512_mathfun.hxx \
    ImageProcessor/MIPP/math/avx_mathfun.h \
    ImageProcessor/MIPP/math/avx_mathfun.hxx \
    ImageProcessor/MIPP/math/neon_mathfun.h \
    ImageProcessor/MIPP/math/neon_mathfun.hxx \
    ImageProcessor/MIPP/math/sse_mathfun.h \
    ImageProcessor/MIPP/math/sse_mathfun.hxx \
    ImageProcessor/MIPP/mipp.h \
    ImageProcessor/MIPP/mipp_impl_AVX.hxx \
    ImageProcessor/MIPP/mipp_impl_AVX512.hxx \
    ImageProcessor/MIPP/mipp_impl_NEON.hxx \
    ImageProcessor/MIPP/mipp_impl_SSE.hxx \
    ImageProcessor/MIPP/mipp_object.hxx \
    ImageProcessor/MIPP/mipp_scalar_op.h \
    ImageProcessor/MIPP/mipp_scalar_op.hxx \
    ImageProcessor/line2Dup.h \
    ImageProcessor/tool.h \
    ImageProcessor/cuda_icp/scene/edge_scene/edge_scene.h \
    ImageProcessor/cuda_icp/scene/kdtree_scene/kdtree_scene.h \
    ImageProcessor/cuda_icp/scene/common.h \
    ImageProcessor/cuda_icp/geometry.h \
    ImageProcessor/cuda_icp/icp.h \
    Calibration/tf/LinearMath/ros/macros.h \
    Calibration/tf/LinearMath/Matrix3x3.h \
    Calibration/tf/LinearMath/MinMax.h \
    Calibration/tf/LinearMath/QuadWord.h \
    Calibration/tf/LinearMath/Quaternion.h \
    Calibration/tf/LinearMath/Scalar.h \
    Calibration/tf/LinearMath/Transform.h \
    Calibration/tf/LinearMath/Vector3.h \
    log.h

FORMS    += mainwindow.ui

DISTFILES += \
    ImageProcessor/cuda_icp/scene/edge_scene/edge_scene.cu \
    ImageProcessor/cuda_icp/scene/kdtree_scene/kdtree_scene.cu \
    ImageProcessor/cuda_icp/scene/common.cu \
    ImageProcessor/cuda_icp/icp.cu \
    ImageProcessor/cuda_icp/CMakeLists.txt
